<mapping connectionStringName="Core">
	<dataAccesses>
		<namespace name="Core">
			<dataAccess description="Access data about Produt." name="Produt" schema="Core">
				<method commandText="[Core].[Produt_GetList]" commandType="StoredProcedure" description="" methodType="ExecuteReader" name="GetList">
					<parameters />
					<results>
						<result type="ProdutCollection" description="" isOutputParameter="false" name="ProdutCollection" />
					</results>
				</method>
			</dataAccess>
		</namespace>
	</dataAccesses>
	<database>
		<storedProcedures>
			<storedProcedure description="" name="Produt_GetList" schema="Core" />
		</storedProcedures>
		<tables>
			<table description="" name="Produt" schema="Core">
				<columns>
					<column default="" description="" name="Id" nullable="false" size="0" sqlDbType="Int" />
					<column default="" description="" name="Name" nullable="true" size="50" sqlDbType="VarChar" />
					<column default="" description="" name="Price" nullable="true" size="0" sqlDbType="Decimal" />
				</columns>
				<foreignKeys />
				<indexes />
				<primaryKey name="PK_Produt">
					<column default="" description="" name="Id" nullable="false" size="0" sqlDbType="Int" />
				</primaryKey>
				<uniqueKeys />
			</table>
			<table description="Enum type data." name="Ref_Enumeration" schema="dbo">
				<columns>
					<column default="" description="Name of enum." name="Name" nullable="false" size="64" sqlDbType="VarChar" />
					<column default="'int'" description="Base class of enum." name="BaseType" nullable="false" size="32" sqlDbType="VarChar" />
					<column default="" description="If enum has FlagsAttribute." name="HasFlagsAttribute" nullable="false" size="0" sqlDbType="Bit" />
					<column default="" description="Description of enum" name="Description" nullable="true" size="128" sqlDbType="NVarChar" />
				</columns>
				<foreignKeys />
				<indexes />
				<primaryKey name="PK_Ref_Enumeration">
					<column default="" description="Name of enum." name="Name" nullable="false" size="64" sqlDbType="VarChar" />
				</primaryKey>
				<uniqueKeys />
			</table>
			<table description="Enmu member data." name="Ref_EnumerationMember" schema="dbo">
				<columns>
					<column default="" description="Name of enum." name="EnumerationName" nullable="false" size="64" sqlDbType="VarChar" />
					<column default="" description="Name of enum member." name="Name" nullable="false" size="64" sqlDbType="VarChar" />
					<column default="" description="Value of enum member." name="Value" nullable="false" size="0" sqlDbType="BigInt" />
					<column default="" description="Description of enum member." name="Description" nullable="false" size="128" sqlDbType="NVarChar" />
				</columns>
				<foreignKeys>
					<foreignKey name="FK_Ref_EnumerationMember_Ref_Enumeration" referentialTable="dbo.Ref_Enumeration">
						<column default="" description="Name of enum." name="EnumerationName" nullable="false" size="64" sqlDbType="VarChar" />
					</foreignKey>
				</foreignKeys>
				<indexes />
				<primaryKey name="PK_Ref_EnumerationMember">
					<column default="" description="Name of enum." name="EnumerationName" nullable="false" size="64" sqlDbType="VarChar" />
					<column default="" description="Name of enum member." name="Name" nullable="false" size="64" sqlDbType="VarChar" />
				</primaryKey>
				<uniqueKeys />
			</table>
		</tables>
		<views>
			<view name="Produt_View" schema="dbo">
				<columns>
					<column description="" name="Id" nullable="false" size="0" sqlDbType="Int" />
					<column description="" name="Name" nullable="true" size="50" sqlDbType="VarChar" />
					<column description="" name="Price" nullable="true" size="0" sqlDbType="Decimal" />
				</columns>
				<indexes />
			</view>
		</views>
	</database>
	<enums>
		<enum baseType="int" description="连接类型" hasFlagsAttribute="true" name="ConnectionType">
			<member description="testNode" name="None" value="0" />
			<member description="AsynDesc" name="Async" value="1" />
		</enum>
	</enums>
	<models>
		<namespace name="Core">
			<model description="" isView="false" name="Produt" schema="Core">
				<property attributes="" canGetCollectionBy="false" canGetItemBy="true" column="Id" columnName="Id" description="" name="Id" nulls="false" referenceType="Int32" size="0" sqlDbType="Int" type="Int32" />
				<property attributes="" canGetCollectionBy="false" canGetItemBy="false" column="Name" columnName="Name" description="" name="Name" nulls="true" referenceType="String" size="50" sqlDbType="VarChar" type="String" />
				<property attributes="" canGetCollectionBy="false" canGetItemBy="false" column="Price" columnName="Price" description="" name="Price" nulls="true" referenceType="Decimal" size="0" sqlDbType="Decimal" type="Decimal" />
			</model>
		</namespace>
		<namespace name="Dbo">
			<model isView="true" name="ProdutView" schema="Dbo">
				<property attributes="" canGetCollectionBy="false" canGetItemBy="false" column="Id" columnName="Id" description="" name="Id" nulls="false" referenceType="Int32" size="0" sqlDbType="Int" type="Int32" />
				<property attributes="" canGetCollectionBy="false" canGetItemBy="false" column="Name" columnName="Name" description="" name="Name" nulls="true" referenceType="String" size="50" sqlDbType="VarChar" type="String" />
				<property attributes="" canGetCollectionBy="false" canGetItemBy="false" column="Price" columnName="Price" description="" name="Price" nulls="true" referenceType="Decimal" size="0" sqlDbType="Decimal" type="Decimal" />
			</model>
		</namespace>
	</models>
</mapping>